Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ContentElementCollection<T> Class / OnItemAdded Method


In This Topic
    OnItemAdded Method (ContentElementCollection<T>)
    In This Topic
    Invoked after an item is added.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnItemAdded( _
       ByVal index As Integer, _
       ByVal item As T _
    ) 
    'Usage
     
    Dim instance As ContentElementCollection(Of T)
    Dim index As Integer
    Dim item As T
     
    instance.OnItemAdded(index, item)
    protected virtual void OnItemAdded( 
       int index,
       T item
    )

    Parameters

    index
    item
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also